/**
 * Created by LJY on 2017/3/4.
 */
public class NineNineTable {
    public static void main(String[] args) {
        int i,j;
        for(j=1;j<10;j++){
            for(i=1;i<j;i++){
                System.out.printf("%d * %d = %d  ",j,i,i*j);
            }
            System.out.println();
        }
    }
}
